<include file="Public/head"/>
<div class="container-fluid">
    <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
        <h3 id="myModalLabel">修改文字与链接</h3>
    </div>
    <div class="modal-body">
        <form action="{:U('Show/navigationedit')}" class="form-horizontal" method="post" enctype="multipart/form-data">

            <div ><p style="color:red;">链接必须带有http://或者https://,如果不想链接跳转，请输入JavaScript:;</p></div>
            <div class="control-group">
                <label class="control-label">导航跳转链接</label>
                <div class="controls" id="keyword">
                    <input type="text" name="url" placeholder="链接" value="{$data.url}">
                </div>
            </div>

            <div class="control-group">
                <label class="control-label">导航名称</label>
                <div class="controls" id="keyword1">
                    <input type="text" name="title" placeholder="名称" value="{$data.title}">
                </div>
            </div>
           <!--  <div class="control-group">
                <label class="control-label">文章微信链接</label>
                <div class="controls" id="keyword">
                    <textarea  rows="4" name="link" style="width:800px;">{$data.link}</textarea>
                    <input type="text" name="link" value="{$data.link}" style="width:800px;">
                </div>
            </div>
            <div class="control-group">
                <label class="control-label">类型</label>
                <div class="controls">
                    

                </div>
            </div> -->

           
            <input type="text" name="id" style="display: none" value="{$data.id}">

        </form>
    </div>
    <div class="modal-footer">
        <button class="btn" onclick='history.go(-1)'>返回</button>
        <button class="btn btn-primary" id="add" onclick="add();">提交</button>
    </div>
</div>

<include file="Public/foot"/>